﻿package commands 
{
	import ICommand;
	/**
	 * ...
	 * @author Rami
	 */
	public class ProductListCommand implements ICommand
	{
		public static var NAME: String = "ProductList";
		
		public function ProductListCommand() 
		{
			
		}		
		
		public function execute(command:XML):void
		{
			trace("Command Executor");
			for each (var product:XML in command.product)
			{
				 trace("Product Id : " + product.id);
				 trace("Product Name : " + product.name);
			}
		}
		
	}

}